package com.itheima.thread2;
/*
测试类
 */
public class Demo01 {

    public static void main(String[] args) {
        MyRunnable myrun = new MyRunnable();
        Thread thread = new Thread(myrun);
        thread.setName("飞机");
        thread.start();

        for (int i = 0; i < 100; i++) {
            System.out.println("main中的"+i);
        }


    }
}
